import request from '@/utils/request';
import { AxiosPromise } from 'axios';
import {IndexDataVO} from "@/api/credit/dataview/types";

// 获取首页统计数据
export function getIndexData(): AxiosPromise<IndexDataVO[]> {
  return request({
    url: '/credit/view/index/data',
    method: 'get'
  });
}
